﻿using System;
using System.Collections.Generic;

namespace OnlineTestModel
{
	/// <summary>
	/// papers:实体类(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public class Papers
	{
		public Papers()
		{}
		#region Model
		private int _id;
		private string _papername;
		private string _description;
		private DateTime _createtime;
		private int _createid;
		private string _status;
		private DateTime? _starttime;
		private DateTime? _endtime;
		private int? _classid;
		/// <summary>
		/// 
		/// </summary>
		public int Id
		{
			set{ _id=value;}
			get{return _id;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string PaperName
		{
			set{ _papername=value;}
			get{return _papername;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string Description
		{
			set{ _description=value;}
			get{return _description;}
		}
		/// <summary>
		/// 
		/// </summary>
		public DateTime CreateTime
		{
			set{ _createtime=value;}
			get{return _createtime;}
		}
		/// <summary>
		/// 
		/// </summary>
		public int CreateId
		{
			set{ _createid=value;}
			get{return _createid;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string Status
		{
			set{ _status=value;}
			get{return _status;}
		}
		/// <summary>
		/// 
		/// </summary>
		public DateTime? StartTime
		{
			set{ _starttime=value;}
			get{return _starttime;}
		}
		/// <summary>
		/// 
		/// </summary>
		public DateTime? EndTime
		{
			set{ _endtime=value;}
			get{return _endtime;}
		}
		/// <summary>
		/// 
		/// </summary>
		public int? ClassId
		{
			set{ _classid=value;}
			get{return _classid;}
		}
		#endregion Model

	}
    public class PaperEX
    {
        /// <summary>
        /// 编号
        /// </summary>
        public int Id { get; set; }

        /// <summary>
        /// 总分
        /// </summary>
        public int TotalScore { get; set; }

        /// <summary>
        /// 难度系数
        /// </summary>
        public double Difficulty { get; set; }

        /// <summary>
        /// 知识点
        /// </summary>
        public List<int> Points { get; set; }

        /// <summary>
        /// 各种题型题数
        /// </summary>
        public int[] EachTypeCount { get; set; }
    }
}

